]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
notificationDaemon: Don't pass unused extra hints value
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Fri, 9 Nov 2018 08:08:25 +0000 (02:08 -0600)
committerFlorian Müllner <fmuellner@gnome.org>
Tue, 13 Nov 2018 14:39:56 +0000 (15:39 +0100)
Probably this is a leftover of old implementations of _iconForNotificationData,
but right now this only takes a value, so just pass one.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/285

js/ui/notificationDaemon.js

index fd4d3e47764d8bdc9bc762c89cf32bb747f4f467..b897b8a71256894bb7f95d56c343b624fbc30ad1 100644 (file)
@@ -292,7 +292,7 @@ var FdoNotificationDaemon = new Lang.Class({
             });
         }
 
-        let gicon = this._iconForNotificationData(icon, hints);
+        let gicon = this._iconForNotificationData(icon);
         let gimage = this._imageForNotificationData(hints);
 
         // If an icon is not specified, we use 'image-data' or 'image-path' hint for an icon